 <table>
								        <thead>
								        	<tr>
								        		<th style="width:50%;">{{"匹配规则(正则表达式)"|T}}</th>
								        		<th>{{"缓存时间"|T}}</th>
								        		<th width="70">{{"删除"|T}}</th>
								        	</tr>
								        </thead>
								        <tbody>
                                {{$vals := FormValues "expires_match_v"}}
                                {{$vlen := len $vals}}
                                {{range $k,$v:=FormValues "expires_match_k"}}
                                    {{if lt $k $vlen}}
<tr>
	<td><input type="text" class="form-control" name="expires_match_k" value="{{$v}}"></td>
	<td><input type="text" class="form-control" name="expires_match_v" pattern="^[0-9]+(y|m|d|h|i|s)([0-9]+(y|m|d|h|i|s))*$" value="{{index $vals $k}}"></td>
	<td class="text-center">
    <button type="button" class="btn btn-danger" onclick="$(this).parent().parent().remove()">
      <i class="fa fa-times"></i>
    </button>
  </td>
</tr>
                                        
                                    {{end}}
																{{else}}
<tr>
	<td><input type="text" class="form-control" name="expires_match_k" value="" required="required"></td>
	<td><input type="text" class="form-control" name="expires_match_v" pattern="^[0-9]+(y|m|d|h|i|s)([0-9]+(y|m|d|h|i|s))*$" value="" required="required"></td>
	<td class="text-center">
    <button type="button" class="btn btn-danger" onclick="$(this).parent().parent().remove()">
      <i class="fa fa-times"></i>
    </button>
  </td>
</tr>
                                {{end}}
								        	<tr>
								        		<td colspan="3" class="text-center primary-emphasis" style="cursor:pointer" id="expiresMatchesBtn"><i class="fa fa-plus"></i></td>
								        	</tr>
								        </tbody>
							      </table>
                    <div class="help-block">{{"缓存时间的的格式为数字和字母的组合，例如：1y2m3d4h5i6s 表示 1年2个月3天4小时5分6秒"|T}}</div>